"use strict"
/**
 * @param {import("egg").Application} app
 */
module.exports = app => {
	const Sequelize = app.Sequelize
	const sequelize = app.model
	let assistData = sequelize.define("assistData", {
		helpid: {
			type: Sequelize.INTEGER
		},
		oid: {
			comment: " 主体",
			type: Sequelize.INTEGER
		},
		assistTime: {
			defaultValue: undefined,
			type: Sequelize.DATE,
		},
		stat: {//完成状态
			defaultValue: 0,
			type: Sequelize.TINYINT
		}
	}, {
		timestamps: false,
		tableName: "empire_assist_data"
	})
	return assistData
}